package com.neusoft.ysu.npms.mapper;

import com.neusoft.ysu.npms.pojo.Measure;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.ysu.npms.pojo.Result;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
@Mapper
public interface MeasureMapper extends BaseMapper<Measure> {
    List<Measure> selectAll();

    Integer deleteByMeasureId(Integer measureId);

    //Integer updateByMeasureId(Integer measureId);
    Integer updateByMeasureId(Measure measure);
    List<Measure> findById(Measure measure);
}
